package com.ybkj.daijia.server.event.model;

import com.ybkj.daijia.server.model.Driver;
import org.springframework.context.ApplicationEvent;

public class DriverPowerOfflineEvent extends ApplicationEvent {

    /**
     *
     */
    private static final long serialVersionUID = 5337836565773328737L;

    private Integer lastStatus;

    private String type;

    public DriverPowerOfflineEvent(Driver source, Integer lastStatus, String type) {
        super(source);
        this.lastStatus = lastStatus;
        this.type = type;
    }

    public Integer getLastStatus() {
        return lastStatus;
    }

    public void setLastStatus(Integer lastStatus) {
        this.lastStatus = lastStatus;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

}
